package com.meal.base.service.handler.impl;

import com.meal.base.service.handler.HandlerService;
import com.meal.entity.annotation.HandlerType;
import com.meal.entity.base.BaseEntity;
import com.meal.entity.constants.HandlerConstants;
import org.springframework.stereotype.Service;

/**
 * @program: yzh->PromotionHandler
 * @description: 急促处理器
 * @author: yangzhanghui
 * @create: 2019-11-29 15:18
 **/
@Service
@HandlerType(value = HandlerConstants.HANDLER_ONE.HANDLER_THREE)
public class PromotionHandler implements HandlerService {
    @Override
    public String handle(BaseEntity baseEntity) {
        return "PromotionHandler:" + baseEntity.getVersion();
    }
}
